import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import axios from 'axios'
import store from './store'
import './assets/base/base.css'
import * as echarts from 'echarts' //echarts核心模块
Vue.prototype.$echarts = echarts;
//页面表格中的默认页面和页面大小
Vue.prototype.$pageSize = "8"
Vue.prototype.$page ="1"

// element ui
import {
  Table,
  TableColumn,
  Pagination,
  Container,
  Main,
  Input,
  Button,
  Icon,
  Message,
  Select,
  Option,
  DatePicker,
  autocomplete
} from 'element-ui';
import '@/assets/style/theme/index.css'
Vue.prototype.$ELEMENT = {
  size: 'small',
  zIndex: 3000
};
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Pagination)
Vue.use(Container)
Vue.use(Main)
Vue.use(Input)
Vue.use(Icon)
Vue.use(Select)
Vue.use(Option)
Vue.use(DatePicker)
Vue.use(autocomplete)
Vue.prototype.$message = Message
Vue.use(Button)

Vue.config.productionTip = false;
// createApp(App).use(store).use(router).mount('#app');
new Vue({
  el: '#app',
  router,
  axios,
  store,
  echarts,
  render: h => h(App)
}).$mount('#app')